Skip to main content

Get All Tickets

AutomatR.HubSpot.Activities.GetAllTickets

The "Get All Tickets" activity in AutomatR is part of the HubSpot activities package, allowing users to retrieve a list of all tickets associated with their HubSpot user account. This activity simplifies the process of fetching ticket information for automation workflows.

Properties

NameDescription
Misc
Display NameProvides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name.
Optional
DelayEnter the wait time in seconds (Example: 5 seconds) to start the activity.
LimitEnter the count to limit the number of tickets for retrieval. If not specified, a default limit of 10 tickets will be applied.
Output
ResultReturns a list of HubSpotTickets as a response. Variables of type List<HubSpotTickets> to store the retrieved ticket information.

How to use:

  1. Drag and drop the "Get All Tickets" activity onto the workflow.
  2. Optionally, configure the delay and limit for ticket retrieval.
  3. Execute the workflow to retrieve a list of tickets associated with the HubSpot user account.

Example: Consider an example where the "Get All Tickets" activity is used to retrieve a list of tickets with a limit of 5:

Get All Tickets:
Limit: 5
Result: ticketList

In this example, the activity fetches the latest 5 tickets associated with the HubSpot user account. The result is stored in the variable "ticketList" for further handling in the workflow.